﻿using System; 
namespace NetDon.OA.Interface
{
     
    public partial interface ISecurityService
    {
        
        Boolean ValidatePermission(Guid userId, string function);

        
        Boolean ValidateUser(string userName, string password,out string message);

         
        Boolean ValidateApplicationAdmin(string userName, string password);

        
        Boolean ApplicationAdminLoginDirect(string userName);

         
        Boolean ChangePassword(Guid userId, string oldPassword, string newPassword);

        
        ModuleCollection GetPermitModules(Guid userId);

         
        Boolean LoginDirect(string userName);
    }
}
